<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
  	<style type="text/css">
  		.myfeesTable{
  			
  		}
  		.myfeesTable td{
  			text-align: left;
		    border-bottom: 1px solid #C0C2C1;
		    border-right: 1px solid #C0C2C1;
		    padding-left: 4px;
		    height:24px;
		    line-height:24px;
  		}
  	</style>
  </head>
  <body>
  	<div style="margin: 0px 2px 0px 2px;border-top: 1px solid #C0C2C1;border-left: 1px solid #C0C2C1">
         <table class="myfeesTable" style="font-size:12px;" width="100%" border="0" cellpadding="0" cellspacing="0">
         		<tr style="height:24px;line-height:24px;background-color: #e5efd3">
					<td style="width: 6%">
					</td>
					<td style="width: 37%">
						委托项目名称
					</td>
					<td style="width: 37%">
						服务商
					</td>
					<td style="width: 20%">&nbsp;</td>
		        </tr>
		        <s:if test="work.item.type < 6">
					<tr style="height:24px;line-height:24px;background-color: #fffdf3">
						<td style="width: 6%">
							<input type="radio" name="r_delegateitem" value="<s:property value="work.item.id"/>" workItemId="0" employeeId="<s:property value="work.bookingAgent.id"/>" employeeName="<s:property value="work.bookingAgent.nickname"/>"/>
						</td>
						<td style="width: 37%"><s:property value="work.item.name_en"/></td>
						<td style="width: 37%"><s:property value="work.bookingAgent.nickname"/></td>
						<td style="width: 20%">&nbsp;</td>
			        </tr>
		        </s:if>
                <s:iterator value="#request.workItems" status="sta">
					<tr style="background-color: #fffdf3">
						<td>
							<input type="radio" name="r_delegateitem" value="<s:property value="item.id"/>" workItemId="<s:property value="id"/>" employeeId="<s:property value="service.id"/>" employeeName="<s:property value="service.nickname"/>" />
						</td>
						<td><s:property value="item.name_zh"/></td>
						<td><s:property value="service.nickname"/></td>
						<td>
							<s:if test="type == 1">
								出发地
							</s:if>
							<s:elseif test="type == 2">
								装货港
							</s:elseif>
							<s:elseif test="type == 3">
								卸货港
							</s:elseif>
							<s:elseif test="type == 4">
								目的地
							</s:elseif>
						</td>
					</tr>				
                 </s:iterator>
          </table>
  	</div>
    <div style="width: 100%;text-align: right;margin-top: 10px">
    	<input type="button" class="btn_ok" onclick="confirmItems()" value="确定" />
    </div>
  </body>
</html>
